import { Router } from "express";
import { authRouter } from "./auth";
import { userRouter } from "./user";
import { postRouter } from "./post";
import { boardRouter } from "./board";
import { commentRouter } from "./comment";
import { tagRouter } from "./tag";

const router = Router();

router.use("/auth", authRouter);
router.use("/users", userRouter);
router.use("/posts", postRouter);
router.use("/boards", boardRouter);
router.use("/comments", commentRouter);
router.use("/tags", tagRouter);

export { router };
